package thread.producer1;

public class Producer implements Runnable{

	private Store store;
	private String producerName;
	
	public Producer(Store store,String producerName){
		this.store = store;
		this.producerName = producerName;
	}
	
	@Override
	public void run() {
		store.produce(producerName);
	}

}
